<div>
    <h1 ng-bind="text"></h1>
    <button ng-click="goToIndex2()">跳转到第二页</button>
</div>